package com.javasm.activitymgr;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

@TableName("am_activity")
public class Activity {
  @TableId(type = IdType.ASSIGN_ID)
  private String id;  //活动id
  private String activityName;//活动名称
  private String activityBeginTime;//促销活动开始时间
  private String activityEndTime;//促销活动结束时间
  private String activityType;//促销类型
  private String activityReason;//活动情况或原因
  private String ossId;//策划文件
  private String remark;//备注
  @TableField(exist = false)
  private List<ActivityGoods> aglist;

  public List<ActivityGoods> getAglist() {
    return aglist;
  }

  public void setAglist(List<ActivityGoods> aglist) {
    this.aglist = aglist;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getActivityName() {
    return activityName;
  }

  public void setActivityName(String activityName) {
    this.activityName = activityName;
  }

  public String getActivityBeginTime() {
    return activityBeginTime;
  }

  public void setActivityBeginTime(String activityBeginTime) {
    this.activityBeginTime = activityBeginTime;
  }

  public String getActivityEndTime() {
    return activityEndTime;
  }

  public void setActivityEndTime(String activityEndTime) {
    this.activityEndTime = activityEndTime;
  }

  public String getActivityType() {
    return activityType;
  }

  public void setActivityType(String activityType) {
    this.activityType = activityType;
  }

  public String getOssId() {
    return ossId;
  }

  public void setOssId(String ossId) {
    this.ossId = ossId;
  }

  public String getActivityReason() {
    return activityReason;
  }

  public void setActivityReason(String activityReason) {
    this.activityReason = activityReason;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }
}
